package com.glory.hikvisionmobile.bean.EqpWork;

import java.io.Serializable;
import java.util.List;

/**
 * *****************************
 *
 * @Anthor yazhou
 * @Email 1184545990@qq.com
 * @Time 2020/3/17 14:52
 * @DESC *****************************
 */
public class EqpStateInfo implements Serializable {

    /**
     * xPdaEvents : [{"objectRrn":94142199,"eventId":"QC-TUN","description":"QC转工艺调整"},{"objectRrn":94142184,"eventId":"QC-RUN","description":"QC转生产"},{"objectRrn":94142194,"eventId":"QC-ENG","description":"QC转工艺开发"},{"objectRrn":137052346,"eventId":"QCTRACKIN"},{"objectRrn":137052358,"eventId":"QCABORT"},{"objectRrn":94142206,"eventId":"QC-FAC","description":"QC转厂务设施检修"},{"objectRrn":137052356,"eventId":"QCTRACKOUT"},{"objectRrn":94142202,"eventId":"QC-SET","description":"QC转工装治具或材料更换"},{"objectRrn":94142188,"eventId":"QC-IDLE","description":"QC转待机"},{"objectRrn":94142190,"eventId":"QC-DOWN","description":"QC转设备故障"}]
     * equipmentId : HFDPS01
     * description : 干法刻蚀DPS
     * eqpType : ProductionMachine
     * statusModelRrn : 94142598
     * comClass : 02
     * state : QC
     * subState : QC
     */

    private String equipmentId;
    private String description;
    private String eqpType;
    private int statusModelRrn;
    private String comClass;
    private String state;
    private String subState;
    private String targetState;
    private List<XPdaEventsBean> xPdaEvents;

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getEqpType() {
        return eqpType;
    }

    public void setEqpType(String eqpType) {
        this.eqpType = eqpType;
    }

    public int getStatusModelRrn() {
        return statusModelRrn;
    }

    public void setStatusModelRrn(int statusModelRrn) {
        this.statusModelRrn = statusModelRrn;
    }

    public String getComClass() {
        return comClass;
    }

    public void setComClass(String comClass) {
        this.comClass = comClass;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getSubState() {
        return subState;
    }

    public void setSubState(String subState) {
        this.subState = subState;
    }

    public String getTargetState() {
        return targetState;
    }

    public void setTargetState(String targetState) {
        this.targetState = targetState;
    }

    public List<XPdaEventsBean> getXPdaEvents() {
        return xPdaEvents;
    }

    public void setXPdaEvents(List<XPdaEventsBean> xPdaEvents) {
        this.xPdaEvents = xPdaEvents;
    }

    public static class XPdaEventsBean {
        /**
         * objectRrn : 94142199
         * eventId : QC-TUN
         * description : QC转工艺调整
         */

        private int objectRrn;
        private String eventId;
        private String description;

        public int getObjectRrn() {
            return objectRrn;
        }

        public void setObjectRrn(int objectRrn) {
            this.objectRrn = objectRrn;
        }

        public String getEventId() {
            return eventId;
        }

        public void setEventId(String eventId) {
            this.eventId = eventId;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }
}
